<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <meta charset="UTF-8">

    <title>侧边栏菜单导航</title>

    <link rel="stylesheet" href="/admin1/css/style.css" media="screen" type="text/css" />

</head>

<body>

<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<!-- <link href="http://www.jqhtml.com/jquery/font-awesome.4.0.3.css" rel="stylesheet"> -->
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<div class="sidebar">
    <h1><i class="fa fa-bars push"></i><span th:text="${session.visitor.username}"class="color"></span></h1>
    <ul>
        <li><a th:href="@{/user/toUpdateInformation}" target="iframe1"><i class="fa fa-dashboard push"></i>修改信息<i class="fa fa-angle-right"></i></a><span class="hover"></span>
        <li><a th:href="@{/toView}" target="iframe1"><i class="fa fa-dashboard push"></i>效果展示<i class="fa fa-angle-right"></i></a><span class="hover"></span>
        </li>
        <li><a href="#"><i class="fa fa-user push"></i>用户管理<i class="fa fa-angle-right"></i></a><span class="hover"></span>
            <ul class="sub-menu">
                <li><a th:href="@{/user/selectAllUser}" target="iframe1">查看所有用户<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/exportUser}" target="iframe1">导出所有用户<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/toRegist}" target="iframe1">添加管理员<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
            </ul>
        </li>
        <li><a href="#"><i class="fa fa-user push"></i>支付信息<i class="fa fa-angle-right"></i></a><span class="hover"></span>
            <ul class="sub-menu">
                <li><a th:href="@{/getAllOrder}" target="iframe1">查看支付<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a  target="iframe1" onclick="fun1()">查看收益<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a  target="iframe1" th:href="@{/toShowOrderss}" >查询支付<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
            </ul>
        </li>
        <li><a href="#"><i class="fa fa-cog push"></i>图片管理<i class="fa fa-angle-right"></i></a><span class="hover"></span>
            <ul class="sub-menu">
                <li><a th:href="@{/scenery/getAllScenerys(mytype='scenery')}" target="iframe1">风景<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='galaxy')}" target="iframe1">星空<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='game')}" target="iframe1">游戏<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='anime')}" target="iframe1">动漫<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='beauty')}" target="iframe1">美女<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='animal')}" target="iframe1">动物<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='lastnew')}" target="iframe1">最新<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='trends')}" target="iframe1">动态<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{/scenery/getAllScenerys(mytype='phone')}" target="iframe1">手机壁纸<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>

            </ul></li>
        <li><a th:href="@{/admin/tospider}" target="iframe1"><i class="fa fa-picture-o push"></i>图片爬取<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
        <li><a th:href="@{/admin/mangerUserScenery}" target="iframe1"><i class="fa fa-picture-o push"></i>图片审批<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
        <!--<li><a th:href="@{/admin/getAllNotice}" target="iframe1"><i class="fa fa-picture-o push"></i>页面提示<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>-->
        <li><a href="#"><i class="fa fa-user push"></i>通知管理<i class="fa fa-angle-right"></i></a><span class="hover"></span>
            <ul class="sub-menu">
                <li><a th:href="@{/admin/toNotice1}" target="iframe1">编辑通知<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
                <li><a th:href="@{admin/getAllNotice}" target="iframe1">查看通知<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
            </ul>
        </li>
        <li><a th:href="@{/logs/toLogs}" target="iframe1"><i class="fa fa-plane push"></i>登录日志<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
        <li><a th:href="@{/admin/toEmail}" target="iframe1" id="send"><i class="fa fa-plane push"></i>邮箱发送<i class="fa fa-angle-right"></i></a><span class="hover"></span></li>
        <li><a th:href="@{/logout}"><i class="fa fa-dashboard push"></i>退出<i class="fa fa-angle-right"></i></a><span class="hover"></span>

    </ul>
</div>
<iframe class="embed-responsive-item" src="http://localhost:8081/toView" NAME="iframe1" style="width: 1280px;height: 705px;margin-left: 261px;border-left: 2px;border-left-color: #9d9d9d" scrolling="yes" frameborder="no" >
</iframe>
<script src='/admin1/js/jquery.js'></script>
<script src="/admin1/js/index.js"></script>
<script>
    function fun1(){
        $.ajax({
            type: "POST",
            url: "http://localhost:8081/getAllMoney",
            data: {},
            success: function(result) {
                alert("总收益："+result)
            },
            dataType: "json"
        });
    }
</script>
</body>

</html>